<?php
namespace Home\Model;

use Think\Model\RelationModel;

class OrderModel extends RelationModel {
    protected $_link = array(
        'OrderAddress'=> self::HAS_ONE,
        'OrderGoods' => array(
            'mapping_type'  => self::HAS_MANY,


        )
    );
}
